<!DOCTYPE HTML>
<html>
<head>
<include file="Public:head" />
</head>

<body>
<include file="Public:header" />
<div class="midder">
	<div class="mc">
		<aside class="w190 fl">
			<section class="categories">
				<div class="hd">
					<h3>全部分类</h3>
				</div>
				<ul class="list categories-list">
                    <foreach name="arrCate" item="item">
						<li><a href="{:U('article/category/index',array('cateid'=>$item[cateid]))}">{$item[catename]}</a></li>
					</foreach>
				</ul>
			</section>
			<section class="personal-publish">
				<div class="hd">
					<h3>作品投稿</h3>
				</div>
				<div class="bd">
					<p>个人作者可以在爱客上直接发布作品。 内容领域不限，唯一要求是保证质量优秀。 发表后，作者可直接从中获得分成。</p>
					<p class="entrance">
						<a href="{:U('article/index/add')}" class="btn btn-large">去投稿<i class="arrow-right"></i></a>
					</p>
				</div>
			</section>
		</aside>
		<article class="w770 fr">
			<section>
				<div class="hd tag-heading">
					<h3 class="the-tag-name">{$seo.title}</h3>
				</div>

				<div class="bd">
					<ul class="list-lined article-list">
						<foreach name="arrArticle" item="item">
						<li class="item" id="article-407582">
							<div class="title">
								<a href="{:U('article/index/show',array('id'=>$item[aid]))}">{$item[title]} 
                                <if condition="$item[isphoto]">
                                [图文]
                                </if>
                                </a>
							</div>
                           <if condition="$item[isphoto]">
							<div class="cover">
                                <a class="pic" href="{:U('article/index/show',array('id'=>$item[aid]))}">
									<img src="{$item[photo][theimg]}" />
								</a> 
							</div>
                            </if>                           
							<div class="info">
								<div class="article-desc-brief">
									<php> echo getsubstrutf8(clearText($item[content]),0,150);</php>...
                                    <a href="{:U('article/index/show',array('id'=>$item[aid]))}">（更多）</a>
								</div>
							</div>
							<a href="{:U('space/index/index',array('id'=>$item[user][doname]))}">{$item[user][username]}</a> <span class="time">发表于 <php>echo date('Y-m-d H:i',$item[addtime])</php> 评论 {$item[count_comment]} | 浏览 {$item[count_view]}</span> 
						</li>
						</foreach>

					</ul>
				</div>


			</section>
            
             <div class="page">{$pageUrl}</div>   
             
		</article>
	</div>
</div>
<include file="Public:footer" />
</body>
</html>